<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>温良酒店-登录</title>
    <base href="/jiudian/">

    <link rel="stylesheet" th:href="@{/css/bootstrap.min.css}">
    <link rel="stylesheet" th:href="@{/css/login.css}">
    <script type="text/javascript" th:src="@{/js/bootstrap.min.js}"></script>
    <script type="text/javascript" th:src="@{/js/jquery-3.3.1.min.js}"></script>
</head>
<body>

    <div id="login">
        <div  style="margin-left: 160px;">
            <img th:src="@{/img/b.png}"  width="60%" height="60%"/>
        </div>
        <div id="top">
            <span >温良酒店</span>
        </div>
        <div id="bottom">
            <form action="user/login" method="post">
                <table border="0px" id="table">
                    <tr>
                        <td class="td1">用户名：</td>
                        <td>
                            <input class="td2" type="text" placeholder="请输入用户名" value="admin" name="username"/>
                        </td>
                    </tr>

                    <tr>
                        <td class="td1">密码：</td>
                        <td>
                            <input class="td2" type="password" placeholder="请输入密码" value="123456" name="password"/>
                        </td>
                    </tr>

                    <tr>
                        <td></td>
                        <td><span id="pwderr"></span></td>
                    </tr>

                    <tr>
                        <td></td>
                        <td>
                            <input type="submit" value="登录" class="td3"/>
                            <a href="user/registerBtn"><input type="button" value="注册" class="td3	"></a>
                        </td>
                    </tr>


                </table>

            </form>
            <span style="color: red" th:text="${message}"></span>
        </div>
    </div>







</body>
</html>